import { createRequire, runMain } from "node:module";

const require = createRequire(import.meta.url);

const app = require("./app.cjs");

if (import.meta.main) {
  console.log("hello world");
}

runMain("./app.cjs");

console.log(app);
